/**
 * SDOT Members - Public Styles
 */

.sdot-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sdot-directory-filters {
    margin-bottom: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.sdot-search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sdot-search-field,
.sdot-filter-field {
    flex: 1;
    min-width: 200px;
}

.sdot-search-field input,
.sdot-filter-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sdot-directory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.sdot-directory-table th,
.sdot-directory-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.sdot-directory-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.sdot-directory-table tr:hover {
    background: #f9f9f9;
}

.sdot-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.sdot-button:hover {
    background: #005a87;
}

.sdot-button-primary {
    background: #0073aa;
}

.sdot-button-small {
    padding: 6px 12px;
    font-size: 14px;
}

.sdot-login-form,
.sdot-register-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sdot-form-field {
    margin-bottom: 20px;
}

.sdot-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.sdot-form-field input,
.sdot-form-field select,
.sdot-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sdot-form-row {
    display: flex;
    gap: 15px;
}

.sdot-form-row .sdot-form-field {
    flex: 1;
}

.sdot-error {
    padding: 12px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sdot-dashboard {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

.sdot-dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sdot-dashboard-nav {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sdot-dashboard-nav a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: background 0.3s;
}

.sdot-dashboard-nav a:hover,
.sdot-dashboard-nav a.active {
    background: #0073aa;
    color: #fff;
}

.sdot-dashboard-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sdot-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sdot-card {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.sdot-card h3 {
    margin-top: 0;
}

.sdot-status {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.sdot-status-active {
    background: #d4edda;
    color: #155724;
}

.sdot-status-expired {
    background: #f8d7da;
    color: #721c24;
}

.sdot-status-pending {
    background: #fff3cd;
    color: #856404;
}

@media (max-width: 768px) {
    .sdot-dashboard {
        flex-direction: column;
    }

    .sdot-dashboard-sidebar {
        width: 100%;
    }

    .sdot-search-form {
        flex-direction: column;
    }
}

