/**
 * Steam Auth Pro - Frontend Styles
 */

/* Login Button */
.steam-login-btn {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.steam-login-btn:hover {
    opacity: 0.85;
}

.steam-login-btn img {
    display: block;
    max-width: 100%;
    height: auto;
}

.steam-login-btn-icon img {
    width: 32px;
    height: 32px;
}

.steam-login-btn-small img {
    width: 109px;
    height: 25px;
}

.steam-login-btn-large img {
    width: 180px;
    height: 35px;
}

/* Login Wrapper */
.steam-login-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.steam-login-separator {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.steam-login-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.steam-login-separator span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
}

/* Checkout Login */
.steam-checkout-login {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.steam-checkout-login h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.steam-checkout-login p {
    margin: 0 0 15px;
    color: #666;
}

/* Account Info */
.steam-account-info {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.steam-account-info h3 {
    margin: 0 0 15px;
    font-size: 16px;
    color: #333;
}

.steam-account-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.steam-account-card .steam-avatar {
    width: 64px;
    height: 64px;
    border-radius: 4px;
}

.steam-account-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.steam-account-details strong {
    font-size: 16px;
    color: #333;
}

.steam-account-details .steam-id {
    font-size: 12px;
    color: #666;
    font-family: monospace;
}

.steam-account-details .steam-profile-link {
    font-size: 13px;
}

/* Steam Settings Page */
.steam-settings-page h2 {
    margin-bottom: 30px;
}

.steam-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.steam-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 4px;
}

.steam-profile-info h3 {
    margin: 0 0 10px;
}

.steam-id-display {
    margin: 0 0 15px;
}

.steam-id-display code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
}

.steam-settings-form {
    max-width: 600px;
}

.steam-settings-form h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.steam-settings-form .form-row {
    margin-bottom: 20px;
}

.steam-settings-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.steam-settings-form .input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.steam-settings-form .description {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}

.steam-settings-form .description a {
    color: #0073aa;
}

.steam-not-linked {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

.steam-not-linked p {
    margin-bottom: 20px;
    color: #666;
}

/* Logout Button */
.steam-logout-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #171a21;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.steam-logout-btn:hover {
    background: #2a475e;
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .steam-account-card {
        flex-direction: column;
        text-align: center;
    }
    
    .steam-profile-card {
        flex-direction: column;
        text-align: center;
    }
}
