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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.registration-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    background-color: #2c3e50;
    padding: 20px;
    position: relative;
}

.logo-left {
    height: 30px !important;
    max-width: 100px !important;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f0f0f0;
}

.title {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    font-weight: normal;
}

.phone-input-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.phone-label {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-icon {
    position: absolute;
    left: 15px;
    font-size: 18px;
    color: #888;
    z-index: 1;
}

.phone-input {
    width: 300px;
    height: 45px;
    padding: 12px 15px 12px 45px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    outline: none;
    transition: border-color 0.3s ease;
}

.phone-input:focus {
    border-color: #3498db;
}

.phone-input::placeholder {
    color: #aaa;
}

.register-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 150px;
}

.register-button:hover:not(:disabled) {
    background-color: #34495e;
}

.register-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.validation-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
}

.success-message {
    color: #27ae60;
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.error-message {
    color: #e74c3c;
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.footer {
    background-color: #2c3e50;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-text {
    font-size: 14px;
    text-align: center;
    flex: 1;
}

.logo-right {
    height: 75px !important;
    max-width: 225px !important;
}

@media (max-width: 768px) {
    .title {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .phone-input {
        width: 280px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        order: 2;
    }

    .footer-text {
        order: 1;
    }

    .logo-right {
        order: 3;
    }

    .main-content {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .phone-input {
        width: 250px;
    }

    .title {
        font-size: 14px;
    }

    .register-button {
        padding: 10px 30px;
        font-size: 14px;
    }
}