﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI',sans-serif;
    background: #edf3fb;
}

/* Main */

.register-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left */

.register-left {
    width: 42%;
    background: linear-gradient(180deg, #0d2946, #081d33);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
}

.logo-big {
    font-size: 42px;
    font-weight: 700;
}

.tagline {
    margin-top: 10px;
    opacity: .9;
}

.illustration {
    font-size: 90px;
    margin: 45px 0;
}

.register-left h2 {
    font-size: 42px;
    line-height: 1.3;
}

.left-text {
    margin-top: 20px;
    font-size: 18px;
    opacity: .9;
    max-width: 420px;
}

/* Right */

.register-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.register-card {
    width: 100%;
    max-width: 760px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

    .register-card h2 {
        text-align: center;
        color: #1f2937;
    }

.sub-title {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

/* Grid */

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full {
    grid-column: 1/-1;
}

/* Fields */

.field {
    display: flex;
    flex-direction: column;
}

    .field label {
        margin-bottom: 8px;
        font-weight: 600;
        color: #374151;
    }

.register-card .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    background: #f9fbff;
}

    .register-card .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37,99,235,.15);
    }

/* Buttons */

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-register {
    flex: 1;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-register:hover {
        background: #1d4ed8;
    }

.btn-login {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border: 2px solid #2563eb;
    border-radius: 10px;
    color: #2563eb;
    font-weight: 600;
}

    .btn-login:hover {
        background: #2563eb;
        color: white;
    }

/* Responsive */

@media(max-width:900px) {

    .register-left {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .buttons {
        flex-direction: column;
    }
}
