/* Register Page Styles for Athos Panel */

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

body {
    font-family: 'Open Sans', sans-serif;
    background: #f6f9ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4154f1, #012970);
    top: -150px;
    left: -150px;
    animation: float1 25s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2eca6a, #07c3cf);
    bottom: -100px;
    right: -100px;
    animation: float2 20s infinite ease-in-out;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff771d, #ffb85c);
    top: 40%;
    left: 60%;
    animation: float3 22s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -80px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 60px) scale(1.05); }
    66% { transform: translate(60px, -40px) scale(0.95); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, -30px) scale(0.9); }
    66% { transform: translate(50px, 80px) scale(1.1); }
}

/* Geometric Shapes */
.geometric {
    position: absolute;
    border: 2px solid rgba(65, 84, 241, 0.15);
    animation: rotate 30s linear infinite;
}

.geo-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation-duration: 35s;
}

.geo-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    animation-duration: 28s;
    animation-direction: reverse;
}

.geo-3 {
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 15%;
    left: 20%;
    animation-duration: 22s;
    border-color: rgba(46, 202, 106, 0.2);
}

.geo-4 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 25%;
    transform: rotate(30deg);
    animation-duration: 25s;
    border-color: rgba(255, 119, 29, 0.15);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #4154f1;
    border-radius: 50%;
    opacity: 0.3;
    animation: rise 20s infinite linear;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Main Container */
.register-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

.register-container::-webkit-scrollbar {
    width: 6px;
}

.register-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.register-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header with Logo */
.register-header {
    padding: 25px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ebeef4;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4154f1, #012970);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #012970;
}

/* Card Body */
.register-body {
    padding: 30px;
}

.register-header-text {
    text-align: center;
    margin-bottom: 25px;
}

.register-header-text h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #012970;
    margin-bottom: 8px;
}

.register-header-text p {
    color: #899bbd;
    font-size: 14px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c384e;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(1, 41, 112, 0.2);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    font-family: 'Open Sans', sans-serif;
}

.form-control:focus {
    border-color: #4154f1;
    box-shadow: 0 0 10px 0 rgba(65, 84, 241, 0.15);
}

.error-message {
    color: #ed3c0d;
    font-size: 12px;
    margin-top: 5px;
}

/* Terms Section */
.terms-section {
    background: #f6f9ff;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
}

.checkbox-group:last-child {
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 2px;
    accent-color: #4154f1;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 13px;
    color: #3e4f6f;
    cursor: pointer;
    line-height: 1.5;
    font-weight: 400;
}

.checkbox-group a {
    color: #4154f1;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #4154f1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #5969f3;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
}

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

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ebeef4;
}

.divider span {
    padding: 0 15px;
    color: #899bbd;
    font-size: 13px;
}

/* Login Link */
.login-section {
    text-align: center;
}

.login-section p {
    color: #444444;
    font-size: 14px;
    margin-bottom: 10px;
}

.login-link {
    display: inline-block;
    padding: 10px 25px;
    background: #f6f9ff;
    color: #4154f1;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Nunito', sans-serif;
}

.login-link:hover {
    background: #4154f1;
    color: white;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ebeef4;
    margin-top: 10px;
}

.footer a {
    color: #4154f1;
    text-decoration: none;
    font-size: 13px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .register-container {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .shape-1, .shape-2, .shape-3 {
        width: 200px;
        height: 200px;
    }
}