EuropeWonder/css/popup.css

273 lines
4.8 KiB
CSS

:root {
--accent: #00798c;
--accent-dark: #006778;
}
.popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 1000;
justify-content: center;
align-items: center;
}
.popup-content {
background-color: #003d5b;
padding: 40px;
border-radius: 10px;
max-width: 500px;
width: 90%;
text-align: center;
position: relative;
color: white;
}
.close-button {
position: absolute;
top: 15px;
right: 15px;
font-size: 28px;
cursor: pointer;
color: white;
background: none;
border: none;
line-height: 1;
}
.popup-title {
font-size: 42px;
margin-bottom: 10px;
color: white;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
}
.popup-subtitle {
font-size: 32px;
margin-bottom: 30px;
color: white;
line-height: 1.2;
}
form {
width: 100%;
margin: 0 auto;
}
#email-form {
width: 100%;
margin: 0 auto;
}
input[type="email"] {
width: 100% !important;
height: 40px;
padding: 8px 12px;
margin-bottom: 15px;
border: none;
border-radius: 3px;
font-size: 16px;
background-color: #f0f0f0;
box-sizing: border-box;
outline: none;
color: #333;
}
input[type="email"]::placeholder {
color: #666;
}
.claim-button {
background-color: #edae49;
color: white;
padding: 15px 30px;
border: none;
border-radius: 5px;
font-size: 24px;
cursor: pointer;
width: 100%;
margin-bottom: 15px;
font-weight: bold;
text-transform: uppercase;
transition: background-color 0.3s ease;
}
.claim-button:hover {
background-color: #d99b35;
}
.skip-button {
background: none;
border: none;
color: rgba(255, 255, 255, 0.8);
text-decoration: underline;
cursor: pointer;
font-size: 16px;
margin: 15px 0;
transition: color 0.3s ease;
text-transform: uppercase;
}
.skip-button:hover {
color: rgba(255, 255, 255, 1);
}
.terms-text {
font-size: 12px;
color: rgba(255, 255, 255, 0.7);
margin-top: 20px;
line-height: 1.5;
}
.success-message {
display: none;
color: white;
font-size: 24px;
margin-top: 20px;
font-weight: bold;
}
/* Stili za promocijsko kodo */
.popup-promo-container {
margin: 20px 0;
padding: 20px;
background: rgba(255, 255, 255, 0.08);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.popup-promo-container label {
display: block;
margin-bottom: 12px;
color: #333;
font-size: 15px;
font-weight: 500;
}
.promo-code-input {
display: flex;
gap: 10px;
align-items: center;
}
.popup-promo-container input {
flex: 1;
padding: 12px 15px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 8px;
background: #fff;
color: #333;
font-size: 14px;
transition: all 0.3s ease;
}
.popup-promo-container input:focus {
outline: none;
border-color: var(--accent);
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 0 2px rgba(0, 121, 140, 0.2);
}
.popup-promo-container input:disabled {
background: rgba(255, 255, 255, 0.05);
cursor: not-allowed;
opacity: 0.7;
}
.popup-promo-container button {
padding: 12px 24px;
background: var(--accent);
border: none;
border-radius: 8px;
color: white;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}
.popup-promo-container button:hover {
background: var(--accent-dark);
transform: translateY(-1px);
}
.popup-promo-container button:disabled {
background: #4a5568;
cursor: not-allowed;
transform: none;
}
#popup-promo-message {
margin-top: 12px;
font-size: 14px;
transition: all 0.3s ease;
}
#popup-promo-message .promo-success {
color: #10B981;
display: flex;
align-items: center;
gap: 8px;
}
#popup-promo-message .promo-error {
color: #EF4444;
display: flex;
align-items: center;
gap: 8px;
}
.popup-guide-info {
margin-bottom: 20px;
padding: 15px;
background: #f9f9f9;
border-radius: 8px;
border: 1px solid #e5e7eb;
}
.guide-profile {
display: flex;
align-items: center;
gap: 15px;
}
.guide-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.guide-details {
flex: 1;
}
.guide-details h4 {
margin: 0 0 5px 0;
font-size: 18px;
color: #333;
font-weight: 600;
}
.guide-details p {
margin: 0;
font-size: 14px;
color: #666;
line-height: 1.4;
}
.guide-message {
margin-top: 8px !important;
font-style: italic;
color: #555 !important;
font-size: 13px !important;
}