
.steam-seller-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
}

.main-title {
    color: #171a21;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1a3a6a, #5ba4e5);
    border-radius: 3px;
}

.steam-game-section, .steam-form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e1e4e8;
}

.steam-guide {
    background: #f8fafc;
    /*border-left: 4px solid #5ba4e5;*/
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.steam-guide h3 {
    color: #1a3a6a;
    margin-top: 0;
    font-size: 1.25rem;
}

.steam-tips {
    padding-left: 0;
    margin: 1.5rem 0 2rem;
    list-style: none;
    border-top: 1px solid #e1e4e8;
    border-bottom: 1px solid #e1e4e8;
    padding: 1.5rem 0;
}

.steam-tips li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #444;
    font-size: 0.95rem;
}

.steam-tips li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #5ba4e5;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.steam-tips li strong {
    color: #1a3a6a;
    font-weight: 600;
}

.steam-tips li a {
    color: #d9480f;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}

.steam-tips li a:hover {
    color: #a52714;
    text-decoration: none;
}

/* Enhanced Payout Notice Section */
.payout-notice {
    background: linear-gradient(135deg, #fff9e6, #fff0c2);
    border-left: 4px solid #ffb700;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 183, 0, 0.15);
    animation: pulse-gentle 2s infinite alternate;
}

.payout-notice h4 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/*.payout-notice h4:before {*/
/*    content: "⚠";*/
/*    font-size: 1.5rem;*/
/*}*/

.payout-notice p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.payout-notice a {
    color: #d9480f;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}

.payout-notice a:hover {
    color: #a52714;
    text-decoration: none;
}

/* Add an attention-grabbing icon */
.payout-notice:after {
    content: "!";
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Gentle pulsing animation */
@keyframes pulse-gentle {
    0% { box-shadow: 0 4px 12px rgba(255, 183, 0, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(255, 183, 0, 0.25); }
}

/* Make the payment methods link stand out more in the tips */
.steam-tips li a {
    color: #d9480f;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}

.steam-tips li a:hover {
    color: #a52714;
    text-decoration: none;
}

/* Reverted game-options to original styling */
.game-options {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.game-options label {
    flex: 1;
    min-width: 120px;
    text-align: center;
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.game-options label:hover {
    border-color: #0073aa;
    background: #f0f7fc;
}

.game-options img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 10px;
}

/* Rest of the modern styling continues below */
.steam-button {
    display: inline-block;
    background: linear-gradient(135deg, #1a3a6a, #5ba4e5);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.steam-button:hover {
    background: linear-gradient(135deg, #142f5c, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.steam-button:active {
    transform: translateY(0);
}

.disabled-button {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #6c757d, #adb5bd) !important;
}

.steam-form-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e4e8;
}

.steam-form-header h2 {
    color: #171a21;
    margin: 0;
    font-size: 1.5rem;
    order: 2; /* Makes heading appear second */
}

.change-game {
    margin: 0px;
    color: #5ba4e5;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: start;
    gap: 0.3rem;
    padding: 0.5rem 0.7rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    border: 1px solid #e1e4e8;
    order: 1; /* Makes link appear first */
    margin-bottom: 0.5rem;
}

.change-game:hover {
    color: #1a3a6a;
    background-color: #f0f7fd;
    border-color: #c2d9f0;
    text-decoration: none;
}
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #171a21;
}

.form-group select, .form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group select:focus, .form-group input[type="number"]:focus {
    border-color: #5ba4e5;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(91, 164, 229, 0.25);
}

.item-preview {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

#skin-image-preview {
    max-width: 250px;
    max-height: 187px;
    display: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e4e8;
}

.item-details {
    flex: 1;
}

.marketable {
    color: #28a745;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.non-marketable {
    color: #dc3545;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.commission-note {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.commission-note small {
    color: #adb5bd;
}

.steam-status {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.steam-status h3 {
    color: #343a40;
    margin-bottom: 1rem;
}

.steam-status a {
    color: #5ba4e5;
    text-decoration: none;
}

.steam-status a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .item-preview {
        flex-direction: column;
        align-items: center;
    }

    #skin-image-preview {
        max-width: 100%;
    }
}

/* Animation for loading state */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-state {
    animation: pulse 1.5s infinite;
    background: #f0f0f0;
    color: transparent;
    border-radius: 4px;
}




.steam-notice a,
a[href*="?steam_login"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #171a21;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.steam-notice a:hover,
a[href*="?steam_login"]:hover {
    background-color: #2a2f38;
}

/* Steam logout button */
.steam-logout-btn {
    background-color: #c0392b;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.steam-logout-btn:hover {
    background-color: #a93226;
}




.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-left: 4px solid #28a745;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-left: 4px solid #dc3545;
    border-radius: 5px;
    margin-bottom: 20px;
}