/**
 * Padėlio piramidės registracijos puslapio stiliai
 * 
 * Current Date and Time (UTC - YYYY-MM-DD HH:MM:SS formatted): 2025-08-12 19:52:25
 * Current User's Login: tadas12587
 */

:root {
    --primary-color: #4CAF50;
    --primary-hover: #45a049;
    --secondary-color: #1976d2;
    --secondary-hover: #1565c0;
    --error-color: #d32f2f;
    --success-color: #2e7d32;
    --text-color: #333;
    --light-text: #757575;
    --border-color: #ddd;
    --bg-color: #f7f7f7;
    --card-bg: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --warning-bg: #fff3e0;
    --warning-border: #ffcc80;
    --warning-text: #e65100;
    --viber-purple: #665CAC;
    --viber-purple-dark: #543f8b;
    --viber-bg: rgba(102, 92, 172, 0.1);
    --viber-border: rgba(102, 92, 172, 0.3);
    --info-bg: rgba(33, 150, 243, 0.1);
    --info-border: rgba(33, 150, 243, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-color);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.register-container {
    width: 100%;
    max-width: 440px;
    margin: 20px;
}

.register-box {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease;
}

.register-box:hover {
    transform: translateY(-5px);
}

.logo-container {
    margin-bottom: 24px;
}

.logo {
    max-width: 220px;
    height: auto;
}

.title {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.error-message {
    color: var(--error-color);
    margin-bottom: 20px;
    font-size: 16px;
    padding: 10px;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.success-message {
    color: var(--success-color);
    margin-bottom: 24px;
    padding: 20px;
    background-color: rgba(46, 125, 50, 0.1);
    border: 2px solid rgba(46, 125, 50, 0.3);
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
    line-height: 1.6;
    text-align: center;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 15px;
}

.success-subtitle {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Viber Invitation Styles */
.viber-invitation {
    background: var(--viber-bg);
    border: 2px solid var(--viber-border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.viber-invitation-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--viber-purple-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.viber-invitation-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.viber-invitation-text strong {
    color: var(--viber-purple-dark);
    font-weight: 600;
}

/* No Viber Message */
.no-viber-message {
    background: var(--info-bg);
    border: 2px solid var(--info-border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.no-viber-message div:last-child {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.no-viber-message strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Success Actions */
.success-actions {
    text-align: center;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Miesto įspėjimo stilius */
.city-warning {
    display: flex;
    align-items: flex-start;
    background-color: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 20px;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.warning-icon {
    margin-right: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.city-warning span {
    color: var(--warning-text);
    font-size: 14px;
}

.btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary-color);
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

/* Viber Button */
.btn-viber {
    background: linear-gradient(135deg, var(--viber-purple) 0%, var(--viber-purple-dark) 100%);
    color: white;
    font-weight: 600;
    border: none;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-viber:hover {
    background: linear-gradient(135deg, var(--viber-purple-dark) 0%, #4a3574 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 92, 172, 0.4);
}

.btn-viber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-viber:hover::before {
    left: 100%;
}

.viber-icon {
    font-size: 18px;
    margin-right: 8px;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: var(--light-text);
}

.login-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link a:hover {
    color: var(--secondary-hover);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .register-container {
        margin: 10px;
    }
    
    .register-box {
        padding: 24px 20px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .form-input, .form-select, .btn {
        padding: 12px 14px;
    }
    
    /* Smaller Viber button on mobile */
    .btn-viber {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .viber-icon {
        font-size: 16px;
        margin-right: 6px;
    }
    
    .viber-invitation-title {
        font-size: 16px;
    }
    
    .viber-invitation {
        padding: 16px;
    }
    
    .success-title {
        font-size: 18px;
    }
    
    /* Adjust video background for mobile */
    .video-background video {
        width: 100vw;
        height: 100vh;
    }
}
