/* ==============================================
   WP HOSTING MANAGER - SHORTCODES STYLES
   Estilos específicos para shortcodes
============================================== */

/* Contenedor principal de shortcodes */
.wphm-shortcode-container {
    margin: 20px 0;
}

/* Mensaje de login requerido */
.wphm-login-required {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.wphm-login-required p {
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 16px;
}

/* Grid de hosting para [wphm_my_hosting] */
.wphm-hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.wphm-hosting-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wphm-hosting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #4dabf7;
}

.wphm-hosting-card-header {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    color: white;
    padding: 20px;
    position: relative;
}

.wphm-hosting-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 80px;
}

.wphm-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-status-active {
    background: #40c057;
    color: white;
}

.wphm-status-pending {
    background: #ffc107;
    color: #212529;
}

.wphm-status-suspended {
    background: #fa5252;
    color: white;
}

.wphm-status-cancelled {
    background: #868e96;
    color: white;
}

.wphm-hosting-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wphm-hosting-info {
    margin-bottom: 20px;
}

.wphm-hosting-info p {
    margin: 0 0 12px 0;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f3f5;
}

.wphm-hosting-info p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wphm-hosting-info strong {
    color: #495057;
    font-weight: 600;
}

.wphm-expiration-date {
    font-weight: 600;
}

.wphm-expiring-normal {
    color: #40c057;
}

.wphm-expiring-soon {
    color: #fab005;
}

.wphm-expired {
    color: #fa5252;
}

/* Estadísticas de uso en cards */
.wphm-usage-stats {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.wphm-usage-stats h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.wphm-resource {
    margin-bottom: 15px;
}

.wphm-resource:last-child {
    margin-bottom: 0;
}

.wphm-resource-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6c757d;
}

.wphm-hosting-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wphm-pending-message {
    color: #fab005;
    font-style: italic;
    font-size: 14px;
    padding: 10px;
    background: #fff9db;
    border-radius: 6px;
    text-align: center;
    width: 100%;
}

/* Tablas para shortcode de hosting */
.wphm-hosting-table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: white;
}

.wphm-hosting-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.wphm-hosting-table th {
    background: #f8f9fa;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-hosting-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    color: #495057;
}

.wphm-hosting-table tr:hover {
    background: #f8f9fa;
}

.wphm-hosting-table tr:last-child td {
    border-bottom: none;
}

.wphm-usage-mini {
    margin-top: 5px;
}

.wphm-usage-warning {
    color: #fab005;
    font-size: 14px;
    cursor: help;
}

.wphm-actions-cell {
    white-space: nowrap;
}

/* Lista de hosting */
.wphm-hosting-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.wphm-hosting-list-item {
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.wphm-list-item-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wphm-list-item-header h4 {
    margin: 0;
    font-size: 16px;
    color: #495057;
}

.wphm-list-item-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.wphm-list-item-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.wphm-list-item-actions {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Grid de planes de hosting */
.wphm-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.wphm-columns-1 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.wphm-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wphm-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wphm-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.wphm-plan-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wphm-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: #4dabf7;
}

.wphm-plan-header {
    background: linear-gradient(135deg, #4263eb 0%, #3b5bdb 100%);
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.wphm-plan-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
}

.wphm-plan-price {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.wphm-plan-cycle {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

.wphm-plan-body {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wphm-plan-features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    flex: 1;
}

.wphm-plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wphm-plan-features li:last-child {
    border-bottom: none;
}

.wphm-feature-label {
    color: #495057;
    font-weight: 500;
}

.wphm-feature-value {
    color: #4263eb;
    font-weight: 600;
    font-size: 15px;
}

.wphm-plan-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wphm-add-to-cart {
    width: 100%;
    justify-content: center;
}

/* Estado del servidor */
.wphm-server-status {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    margin: 25px 0;
}

.wphm-server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.wphm-server-header h3 {
    margin: 0;
    color: #495057;
    font-size: 20px;
}

.wphm-server-status-indicator {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-status-online {
    background: #40c057;
    color: white;
}

.wphm-status-offline {
    background: #fa5252;
    color: white;
}

.wphm-status-maintenance {
    background: #ffc107;
    color: #212529;
}

.wphm-status-overloaded {
    background: #fd7e14;
    color: white;
}

.wphm-server-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.wphm-server-info p {
    margin: 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.wphm-server-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wphm-metric {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
}

.wphm-metric-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 10px;
}

.wphm-metric-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.wphm-metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #4263eb, #4dabf7);
    border-radius: 4px;
    transition: width 1s ease;
}

.wphm-server-updated {
    text-align: right;
    font-size: 13px;
    color: #868e96;
    font-style: italic;
}

/* Estado general de servidores */
.wphm-overall-status {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    margin: 25px 0;
}

.wphm-overall-status h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #495057;
    font-size: 24px;
    text-align: center;
}

.wphm-servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.wphm-server-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.wphm-server-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #4dabf7;
}

.wphm-server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f5;
}

.wphm-server-card-header h4 {
    margin: 0;
    color: #495057;
    font-size: 16px;
}

.wphm-server-status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-server-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wphm-server-metric {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.wphm-uptime-excellent {
    color: #40c057;
    font-weight: 600;
}

.wphm-uptime-good {
    color: #20c997;
    font-weight: 600;
}

.wphm-uptime-warning {
    color: #fab005;
    font-weight: 600;
}

.wphm-uptime-critical {
    color: #fa5252;
    font-weight: 600;
}

/* Dashboard de estadísticas */
.wphm-usage-dashboard {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
    margin: 25px 0;
}

.wphm-usage-dashboard h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #495057;
    font-size: 22px;
    text-align: center;
}

.wphm-stats-overview {
    margin-bottom: 30px;
}

.wphm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.wphm-stat-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.wphm-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #4dabf7;
}

.wphm-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.wphm-stat-disk {
    background: linear-gradient(135deg, #4263eb20, #4dabf720);
    color: #4263eb;
}

.wphm-stat-bandwidth {
    background: linear-gradient(135deg, #20c99720, #40c05720);
    color: #20c997;
}

.wphm-stat-domains {
    background: linear-gradient(135deg, #fd7e1420, #fab00520);
    color: #fd7e14;
}

.wphm-stat-databases {
    background: linear-gradient(135deg, #be4bdb20, #ae3ec920);
    color: #be4bdb;
}

.wphm-stat-info {
    flex: 1;
}

.wphm-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #495057;
    line-height: 1;
    margin-bottom: 5px;
}

.wphm-stat-value small {
    font-size: 14px;
    font-weight: 500;
    color: #868e96;
}

.wphm-stat-label {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-stat-progress {
    width: 100%;
    margin-top: 10px;
}

.wphm-stats-details {
    margin-top: 30px;
}

.wphm-stats-details h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #495057;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
}

.wphm-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wphm-stats-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wphm-stats-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.wphm-stats-table tr:hover {
    background: #f8f9fa;
}

.wphm-usage-mini-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.wphm-mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4263eb, #4dabf7);
    border-radius: 2px;
}

/* Formulario de soporte */
.wphm-support-form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e9ecef;
    margin: 25px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wphm-support-form-container h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #495057;
    font-size: 24px;
    text-align: center;
}

.wphm-form-group {
    margin-bottom: 20px;
}

.wphm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.wphm-support-form-container input[type="text"],
.wphm-support-form-container input[type="email"],
.wphm-support-form-container select,
.wphm-support-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    background: white;
    transition: all 0.2s ease;
}

.wphm-support-form-container input[type="text"]:focus,
.wphm-support-form-container input[type="email"]:focus,
.wphm-support-form-container select:focus,
.wphm-support-form-container textarea:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

.wphm-support-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.wphm-support-form-container input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
}

.wphm-support-form-container input[type="file"]:hover {
    border-color: #adb5bd;
}

.wphm-support-form-container small {
    display: block;
    margin-top: 5px;
    color: #868e96;
    font-size: 12px;
}

.wphm-form-actions {
    text-align: center;
    margin-top: 30px;
}

.wphm-response-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.wphm-message-success {
    background: #d3f9d8;
    color: #2b8a3e;
    border: 1px solid #b2f2bb;
}

.wphm-message-error {
    background: #ffe3e3;
    color: #c92a2a;
    border: 1px solid #ffc9c9;
}

/* Información de dominio */
.wphm-domain-info {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    margin: 25px 0;
}

.wphm-domain-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #495057;
    font-size: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.wphm-domain-status {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-weight: 600;
}

.wphm-domain-active {
    color: #40c057;
}

.wphm-domain-inactive {
    color: #fa5252;
}

.wphm-domain-dns,
.wphm-domain-whois {
    margin-bottom: 25px;
}

.wphm-domain-dns h4,
.wphm-domain-whois h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
    font-size: 18px;
}

.wphm-dns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.wphm-dns-table th {
    background: #f8f9fa;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}

.wphm-dns-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.wphm-whois-output {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #495057;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Mensajes de error y empty states */
.wphm-no-plans,
.wphm-no-hosting,
.wphm-no-stats,
.wphm-no-servers {
    text-align: center;
    padding: 40px 20px;
    color: #868e96;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.wphm-error {
    color: #fa5252;
    padding: 15px;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #ffc9c9;
    text-align: center;
    margin: 20px 0;
}

/* Botones para shortcodes */
.wphm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
    line-height: 1.5;
    text-align: center;
}

.wphm-btn-primary {
    background: linear-gradient(135deg, #4263eb, #3b5bdb);
    color: white;
}

.wphm-btn-primary:hover {
    background: linear-gradient(135deg, #3b5bdb, #364fc7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 99, 235, 0.2);
    color: white;
}

.wphm-btn-outline {
    background: transparent;
    border: 2px solid #4263eb;
    color: #4263eb;
}

.wphm-btn-outline:hover {
    background: #4263eb;
    color: white;
    transform: translateY(-2px);
}

.wphm-btn-warning {
    background: linear-gradient(135deg, #fab005, #f59f00);
    color: #212529;
}

.wphm-btn-warning:hover {
    background: linear-gradient(135deg, #f59f00, #f08c00);
    transform: translateY(-2px);
}

.wphm-btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.wphm-btn-disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.wphm-btn-disabled:hover {
    background: #e9ecef;
    transform: none;
    box-shadow: none;
    color: #adb5bd;
}

/* Progress bars */
.wphm-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.wphm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4263eb, #4dabf7);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Modales específicos de shortcodes */
.wphm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: wphm-modal-fade-in 0.3s ease;
}

@keyframes wphm-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wphm-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: wphm-modal-slide-up 0.3s ease;
}

@keyframes wphm-modal-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wphm-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.wphm-modal-header h3 {
    margin: 0;
    color: #495057;
    font-size: 20px;
}

.wphm-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #868e96;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.wphm-modal-close:hover {
    background: #f1f3f5;
    color: #495057;
}

.wphm-modal-body {
    padding: 25px;
}

/* Detalles del hosting en modal */
.wphm-hosting-details-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wphm-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.wphm-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.wphm-detail-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.wphm-detail-section h5 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.wphm-detail-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f3f5;
}

.wphm-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wphm-specs-grid,
.wphm-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.wphm-spec-item,
.wphm-usage-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wphm-spec-label,
.wphm-usage-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c757d;
}

.wphm-spec-value {
    font-weight: 600;
    color: #495057;
}

.wphm-details-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
    border-top: 2px solid #f1f3f5;
}

/* Responsive */
@media (max-width: 1024px) {
    .wphm-plans-grid.wphm-columns-4,
    .wphm-plans-grid.wphm-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wphm-hosting-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .wphm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wphm-plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .wphm-hosting-grid {
        grid-template-columns: 1fr;
    }
    
    .wphm-list-item-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wphm-list-item-actions {
        justify-content: flex-start;
    }
    
    .wphm-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .wphm-servers-list {
        grid-template-columns: 1fr;
    }
    
    .wphm-server-metrics {
        grid-template-columns: 1fr;
    }
    
    .wphm-details-grid,
    .wphm-specs-grid,
    .wphm-usage-grid {
        grid-template-columns: 1fr;
    }
    
    .wphm-details-actions {
        flex-direction: column;
    }
    
    .wphm-hosting-actions {
        flex-direction: column;
    }
    
    .wphm-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wphm-hosting-card-header,
    .wphm-plan-header {
        padding: 20px 15px;
    }
    
    .wphm-hosting-card-body,
    .wphm-plan-body {
        padding: 20px 15px;
    }
    
    .wphm-server-status,
    .wphm-overall-status,
    .wphm-usage-dashboard,
    .wphm-support-form-container,
    .wphm-domain-info {
        padding: 20px 15px;
    }
    
    .wphm-hosting-table th,
    .wphm-hosting-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .wphm-modal-content {
        margin: 10px;
    }
    
    .wphm-modal-header,
    .wphm-modal-body {
        padding: 15px;
    }
}