@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.steam-guard-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: #1b2838;
    font-family: 'Roboto', sans-serif;
}

.steam-guard-container {
    background-color: #171a21;
    border-radius: 2px;
    width: 100%;
    max-width: 360px;
    padding: 65px 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.steam-header {
    text-align: center;
    margin-bottom: 35px;
}

.steam-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.steam-icon {
    width: 32px;
    height: 32px;
    color: #66c0f4;
}

.steam-title {
    color: #66c0f4;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.login-label {
    color: #8f98a0;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.8;
}

.steam-input {
    width: 100%;
    padding: 14px 40px 14px 15px;
    background-color: #32363f;
    border: 1px solid #4c5058;
    border-radius: 2px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    height: 50px;
}

.steam-input:focus {
    border-color: #66c0f4;
}

.steam-input::placeholder {
    color: #8f98a0;
}

.steam-button {
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, #ff9d2f, #ff7b00);
    border: none;
    border-radius: 2px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.steam-button:hover {
    background: linear-gradient(to bottom, #ffa642, #ff8912);
}

.steam-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

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

.steam-alert {
    margin-top: 20px;
    padding: 12px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.alert {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 2px;
    gap: 12px;
}

.alert-success {
    background-color: rgba(68, 204, 119, 0.15);
    border: 1px solid rgba(68, 204, 119, 0.3);
    color: #4cd964;
}

.alert-danger {
    background-color: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.warning {
    background-color: rgba(255, 149, 0, 0.15);
    border: 1px solid rgba(255, 149, 0, 0.3);
    color: #ff9500;
}

.success-message,
.error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.code-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.steam-code {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.steam-footer {
    text-align: center;
    color: #8f98a0;
    font-size: 13px;
    margin-top: 25px;
}

.d-none {
    display: none;
}

.steam-alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffcc00;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.steam-alert-info {
    background-color: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #2196f3;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.alert-icon {
    display: inline-block;
    min-width: 24px;
    height: 24px;
    margin-right: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.warning-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23ffcc00' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.info-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%232196f3' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.success-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%234cd964' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.danger-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%23ff3b30' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h2v-2h-2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

@media (max-width: 480px) {
    .steam-guard-wrapper {
        padding: 10px;
    }

    .steam-guard-container {
        padding: 25px 20px;
    }

    .steam-title {
        font-size: 24px;
    }

    .steam-icon {
        width: 28px;
        height: 28px;
    }

    .steam-input,
    .steam-button {
        height: 45px;
    }
}
