/* Partner Listing Page Styles */

.stm-partner-listing-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.stm-listing-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a3a52 0%, #0f2537 100%);
    color: white;
    border-radius: 8px;
}

.stm-listing-header h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.stm-listing-count {
    margin: 15px 0 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 16px;
}

.stm-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stm-limit-reached,
.stm-access-denied {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stm-limit-reached h2,
.stm-access-denied h2 {
    color: #1a3a52;
    margin-bottom: 20px;
}

.stm-upgrade-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #E67E22;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s;
}

.stm-upgrade-btn:hover {
    background: #d67018;
    transform: translateY(-2px);
}

/* Login Form Styles */

.stm-login-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f5f5f5;
}

.stm-login-container {
    max-width: 450px;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.stm-login-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1a3a52 0%, #0f2537 100%);
    color: white;
}

.stm-login-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.stm-login-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.stm-tab-btn {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.stm-tab-btn.active {
    background: white;
    color: #E67E22;
    border-bottom: 3px solid #E67E22;
}

.stm-tab-content {
    display: none;
    padding: 30px;
}

.stm-tab-content.active {
    display: block;
}

.stm-form-group {
    margin-bottom: 20px;
}

.stm-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a3a52;
}

.stm-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.stm-input:focus {
    outline: none;
    border-color: #E67E22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.stm-submit-btn {
    width: 100%;
    padding: 15px;
    background: #E67E22;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.stm-submit-btn:hover {
    background: #d67018;
    transform: translateY(-2px);
}

.stm-login-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.stm-error-message {
    padding: 12px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 6px;
    margin-bottom: 20px;
}

.stm-success-message {
    padding: 12px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Responsive */

@media (max-width: 768px) {
    .stm-partner-listing-wrapper {
        padding: 15px;
    }
    
    .stm-listing-header {
        padding: 20px;
    }
    
    .stm-listing-header h2 {
        font-size: 24px;
    }
    
    .stm-form-container {
        padding: 20px;
    }
    
    .stm-login-container {
        margin: 0 15px;
    }
}