/* Price Table Styles */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #001014; /* Darker background color */
    color: #fff;
}

/* Flag Icons */
.flag-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #333;
    margin: 0 2px;
}

/* Container */
.ptsContainer {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.ptsTableFrontedShell {
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
}

.ptsTableElementContent {
    width: 100%;
}

.ptsRows {
    margin-top: 0;
    padding-top: 0;
}

/* Columns */
.ptsCol {
    width: 12.5%;
    position: relative;
    display: flex;
    flex: 0 0 12.5%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
}

/* Header Row */
.ptsTableHeadRow {
    background-color: transparent;
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Column Headers */
.ptsColHeader {
    padding: 25px 10px;
    text-align: center;
    font-weight: bold;
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ptsColHeaderFull {
    background-color: #333333 !important;
    min-height: 198px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 !important;
}

.ptsColHeaderFull span {
    display: block;
    line-height: 1.2;
    font-size: 14px;
    font-weight: bold;
}

.ptsFullHeight {
    position: relative;
}

.ptsFullHeight .ptsColDesc {
    display: none;
}

.ptsTableDescCol .ptsColHeader {
    background-color: #333333 !important;
}

.ptsCol-1 .ptsColHeader {
    background-color: #896c3f;
}

.ptsCol-2 .ptsColHeader {
    background-color: #1c3f51;
}

.ptsCol-3 .ptsColHeader {
    background-color: #093a3f;
}

.ptsCol-4 .ptsColHeader {
    background-color: #410809;
}

.ptsCol-5 .ptsColHeader {
    background-color: #4a4064;
}

.ptsCol-6 .ptsColHeader {
    background-color: #a04000;
}

.ptsCol-7 .ptsColHeader {
    background-color: #145a32;
}

/* Column Description */
.ptsColDesc {
    padding: 15px 10px;
    text-align: center;
    color: #fff;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ptsTableDescCol .ptsColDesc {
    background-color: #001a21; /* Match other columns */
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.ptsCol-1 .ptsColDesc {
    background-color: #896c3f;
}

.ptsCol-2 .ptsColDesc {
    background-color: #1c3f51;
}

.ptsCol-3 .ptsColDesc {
    background-color: #093a3f;
}

.ptsCol-4 .ptsColDesc {
    background-color: #410809;
}

.ptsCol-5 .ptsColDesc {
    background-color: #4a4064;
}

.ptsCol-6 .ptsColDesc {
    background-color: #a04000;
}

.ptsCol-7 .ptsColDesc {
    background-color: #145a32;
}

.server-header h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    font-weight: 600;
    color: #fff;
}

.price-block {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-from {
    font-size: 0.8rem;
    opacity: 0.8;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Rows */
.ptsRows:after {
    content: "";
    display: table;
    clear: both;
}

.ptsTableRow {
    border-bottom: 1px solid #002a33; /* Darker border */
    background-color: #000a0e; /* Darker background for table rows */
}

/* Cells */
.ptsCell {
    padding: 12px 10px;
    text-align: center;
    min-height: 25px;
    color: #fff;
    border-collapse: collapse;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

.ptsCellAlignCenter {
    text-align: center;
}

/* Features Column */
.ptsTableDescCol {
    background-color: #001a21; /* Match the dark theme */
}

.ptsTableDescCol .ptsCell {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    background-color: #001a21; /* Match the dark theme */
    border: 1px solid #132d30;
    white-space: normal;
    word-break: break-word;
}

.ptsTableHeader {
    display: flex;
    align-items: stretch;
}

/* Table Rows */
.ptsTableRow {
    background-color: #000a0e; /* Darker background for table rows */
    border: 1px solid #132d30;
    display: flex;
    align-items: stretch;
}

/* Alternating background colors for rows */
/* First row (SLOT Number) - #021e21 */
.ptsTableRow:nth-child(1) .ptsCell {
    background-color: #021e21;
    border: 1px solid #132d30;
}

/* Second row (RAM) - #0d1c1f */
.ptsTableRow:nth-child(2) .ptsCell {
    background-color: #0d1c1f;
    border: 1px solid #132d30;
}

/* Third row (CPU) - #021e21 */
.ptsTableRow:nth-child(3) .ptsCell {
    background-color: #021e21;
    border: 1px solid #132d30;
}

/* Fourth row (Hard Disk) - #0d1c1f */
.ptsTableRow:nth-child(4) .ptsCell {
    background-color: #0d1c1f;
    border: 1px solid #132d30;
}

/* Fifth row - #021e21 */
.ptsTableRow:nth-child(5) .ptsCell {
    background-color: #021e21;
    border: 1px solid #132d30;
}

/* Sixth row - #0d1c1f */
.ptsTableRow:nth-child(6) .ptsCell {
    background-color: #0d1c1f;
    border: 1px solid #132d30;
}

/* Seventh row - #021e21 */
.ptsTableRow:nth-child(7) .ptsCell {
    background-color: #021e21;
    border: 1px solid #132d30;
}

/* Eighth row - #0d1c1f */
.ptsTableRow:nth-child(8) .ptsCell {
    background-color: #0d1c1f;
    border: 1px solid #132d30;
}

/* Continue pattern for more rows */
.ptsTableRow:nth-child(odd) .ptsCell {
    background-color: #021e21;
    border: 1px solid #132d30;
}

.ptsTableRow:nth-child(even) .ptsCell {
    background-color: #0d1c1f;
    border: 1px solid #132d30;
}



/* Optional Text */
.optional {
    color: #aaa;
    font-style: italic;
}

/* Icons */
.fas {
    font-size: 18px;
}

.fa-check {
    color: #22df00;
}

.fa-check-green {
    color: #22df00;
}

.fa-check-orange {
    color: #ff8c00 !important;
}

.fa-times {
    color: #df0000;
}

/* Footer */
.ptsTableFootRow {
    background-color: transparent;
    display: flex;
}

.ptsColFooter {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #132d30;
    background-color: #0d1c1f;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptsTableDescCol .ptsColFooter {
    background-color: #001a21;
}

/* Action Button */
.ptsActBtn {
    display: inline-block;
    width: 100%;
}

.ptsEditArea {
    display: inline-block;
    padding: 10px 20px;
    width: 80%;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-align: center;
}

.ptsCol-1 .ptsEditArea {
    background-color: #b08a4e;
}

.ptsCol-2 .ptsEditArea {
    background-color: #215068;
}

.ptsCol-3 .ptsEditArea {
    background-color: #064950;
}

.ptsCol-4 .ptsEditArea {
    background-color: #560909;
}

.ptsCol-5 .ptsEditArea {
    background-color: #5e5482;
}

.ptsCol-6 .ptsEditArea {
    background-color: #215068;
}

.ptsCol-7 .ptsEditArea {
    background-color: #560909;
}

.ptsEditArea:hover {
    opacity: 0.9;
}

/* Flag Row */
.flag-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.flag-row img {
    width: 24px;
    height: auto;
    border: 1px solid #002a33;
    border-radius: 2px;
}

/* Ensure consistent cell heights for Support and Server Location rows */
.ptsTableRow .ptsCell {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px;
}

/* Make the "Order" cell in footer match the height of ORDER NOW buttons */
.ptsTableFootRow .ptsTableDescCol .ptsCell {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001a21;
    border: 1px solid #132d30;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design - Mobile First Approach */
@media screen and (max-width: 992px) {
    .ptsContainer {
        padding: 0 10px;
        overflow-x: auto;
    }
    
    .ptsTableHeader {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .ptsRows {
        display: block;
    }
    
    .ptsTableFootRow {
        display: flex;
    }
    
    .ptsTable {
        min-width: 900px;
    }
    
    /* Create mobile layout */
    .mobile-layout {
        display: block;
    }
    
    .mobile-product-card {
        background-color: #001a21;
        border: 2px solid #132d30;
        border-radius: 10px;
        margin-bottom: 20px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-product-header {
        padding: 20px;
        text-align: center;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 18px;
    }
    
    .mobile-product-price {
        padding: 15px 20px;
        text-align: center;
        color: #fff;
    }
    
    .mobile-product-price .price-from {
        font-size: 12px;
        opacity: 0.8;
        margin-bottom: 5px;
    }
    
    .mobile-product-price .price-value {
        font-size: 28px;
        font-weight: bold;
        margin: 5px 0;
    }
    
    .mobile-product-price .price-period {
        font-size: 12px;
        opacity: 0.8;
        margin-top: 5px;
    }
    
    .mobile-feature-row {
        display: flex;
        border-top: 1px solid #132d30;
        min-height: 50px;
    }
    
    .mobile-feature-label {
        flex: 1;
        padding: 15px;
        background-color: #002a33;
        color: #fff;
        font-weight: bold;
        display: flex;
        align-items: center;
        border-right: 1px solid #132d30;
    }
    
    .mobile-feature-value {
        flex: 1;
        padding: 15px;
        background-color: #001a21;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .mobile-order-button {
        padding: 20px;
        text-align: center;
        background-color: #002a33;
    }
    
    .mobile-order-button .ptsActBtn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 5px;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
    }
    
    /* Color schemes for each product */
    .mobile-product-card.tiger .mobile-product-header {
        background-color: #8a6b3a;
    }
    
    .mobile-product-card.tiger .mobile-product-price {
        background-color: #b08a4e;
    }
    
    .mobile-product-card.phantom .mobile-product-header {
        background-color: #1a3f52;
    }
    
    .mobile-product-card.phantom .mobile-product-price {
        background-color: #215068;
    }
    
    .mobile-product-card.viper .mobile-product-header {
        background-color: #053a40;
    }
    
    .mobile-product-card.viper .mobile-product-price {
        background-color: #064950;
    }
    
    .mobile-product-card.tomcat .mobile-product-header {
        background-color: #420707;
    }
    
    .mobile-product-card.tomcat .mobile-product-price {
        background-color: #560909;
    }
    
    .mobile-product-card.raptor .mobile-product-header {
        background-color: #4a4066;
    }
    
    .mobile-product-card.raptor .mobile-product-price {
        background-color: #5e5482;
    }
}

@media screen and (max-width: 768px) {
    .mobile-product-card {
        margin-bottom: 25px;
    }
    
    .mobile-product-header {
        font-size: 16px;
        padding: 18px;
    }
    
    .mobile-product-price .price-value {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .ptsContainer {
        padding: 0 5px;
    }
    
    .mobile-product-card {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .mobile-product-header {
        font-size: 14px;
        padding: 15px;
    }
    
    .mobile-product-price .price-value {
        font-size: 22px;
    }
    
    .mobile-feature-label,
    .mobile-feature-value {
        padding: 12px;
        font-size: 14px;
    }
    
    .mobile-order-button {
        padding: 15px;
    }
    
    .mobile-order-button .ptsActBtn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Hide mobile layout on desktop */
@media screen and (min-width: 993px) {
    .mobile-layout {
        display: none;
    }
}


/* Column Hover Effects - Enhanced for Full Column Highlighting */
.ptsTable:hover .ptsCol-1:hover ~ .ptsRows .ptsCol-1 .ptsCell,
.ptsTable:hover .ptsCol-1:hover .ptsCell,
.ptsTable:hover .ptsCol-1:hover .ptsColHeader,
.ptsTable:hover .ptsCol-1:hover .ptsColDesc {
    background-color: rgba(176, 138, 78, 0.15) !important;
    border-color: rgba(176, 138, 78, 0.4) !important;
    box-shadow: 0 0 15px rgba(176, 138, 78, 0.3);
}

.ptsTable:hover .ptsCol-2:hover ~ .ptsRows .ptsCol-2 .ptsCell,
.ptsTable:hover .ptsCol-2:hover .ptsCell,
.ptsTable:hover .ptsCol-2:hover .ptsColHeader,
.ptsTable:hover .ptsCol-2:hover .ptsColDesc {
    background-color: rgba(33, 80, 104, 0.15) !important;
    border-color: rgba(33, 80, 104, 0.4) !important;
    box-shadow: 0 0 15px rgba(33, 80, 104, 0.3);
}

.ptsTable:hover .ptsCol-3:hover ~ .ptsRows .ptsCol-3 .ptsCell,
.ptsTable:hover .ptsCol-3:hover .ptsCell,
.ptsTable:hover .ptsCol-3:hover .ptsColHeader,
.ptsTable:hover .ptsCol-3:hover .ptsColDesc {
    background-color: rgba(6, 73, 80, 0.15) !important;
    border-color: rgba(6, 73, 80, 0.4) !important;
    box-shadow: 0 0 15px rgba(6, 73, 80, 0.3);
}

.ptsTable:hover .ptsCol-4:hover ~ .ptsRows .ptsCol-4 .ptsCell,
.ptsTable:hover .ptsCol-4:hover .ptsCell,
.ptsTable:hover .ptsCol-4:hover .ptsColHeader,
.ptsTable:hover .ptsCol-4:hover .ptsColDesc {
    background-color: rgba(86, 9, 9, 0.15) !important;
    border-color: rgba(86, 9, 9, 0.4) !important;
    box-shadow: 0 0 15px rgba(86, 9, 9, 0.3);
}

.ptsTable:hover .ptsCol-5:hover ~ .ptsRows .ptsCol-5 .ptsCell,
.ptsTable:hover .ptsCol-5:hover .ptsCell,
.ptsTable:hover .ptsCol-5:hover .ptsColHeader,
.ptsTable:hover .ptsCol-5:hover .ptsColDesc {
    background-color: rgba(94, 84, 130, 0.15) !important;
    border-color: rgba(94, 84, 130, 0.4) !important;
    box-shadow: 0 0 15px rgba(94, 84, 130, 0.3);
}

/* Alternative approach using CSS custom properties and data attributes */
.ptsTable {
    position: relative;
}

.ptsTable:hover .ptsCol-1:hover {
    --column-highlight: 1;
}

.ptsTable:hover .ptsCol-2:hover {
    --column-highlight: 2;
}

.ptsTable:hover .ptsCol-3:hover {
    --column-highlight: 3;
}

.ptsTable:hover .ptsCol-4:hover {
    --column-highlight: 4;
}

.ptsTable:hover .ptsCol-5:hover {
    --column-highlight: 5;
}

/* Enhanced column hover effects */
.ptsCol:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.ptsCol:hover .ptsColHeader {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.ptsCol:hover .ptsColDesc {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Enhanced hover effects for each column */
.ptsCol-1:hover .ptsColHeader {
    background-color: #b08a4e !important;
    box-shadow: 0 8px 25px rgba(176, 138, 78, 0.4);
}

.ptsCol-1:hover .ptsColDesc {
    background-color: #c49a5e !important;
    box-shadow: 0 8px 25px rgba(176, 138, 78, 0.4);
}

.ptsCol-2:hover .ptsColHeader {
    background-color: #215068 !important;
    box-shadow: 0 8px 25px rgba(33, 80, 104, 0.4);
}

.ptsCol-2:hover .ptsColDesc {
    background-color: #316078 !important;
    box-shadow: 0 8px 25px rgba(33, 80, 104, 0.4);
}

.ptsCol-3:hover .ptsColHeader {
    background-color: #064950 !important;
    box-shadow: 0 8px 25px rgba(6, 73, 80, 0.4);
}

.ptsCol-3:hover .ptsColDesc {
    background-color: #165960 !important;
    box-shadow: 0 8px 25px rgba(6, 73, 80, 0.4);
}

.ptsCol-4:hover .ptsColHeader {
    background-color: #560909 !important;
    box-shadow: 0 8px 25px rgba(86, 9, 9, 0.4);
}

.ptsCol-4:hover .ptsColDesc {
    background-color: #661919 !important;
    box-shadow: 0 8px 25px rgba(86, 9, 9, 0.4);
}

.ptsCol-5:hover .ptsColHeader {
    background-color: #5e5482 !important;
    box-shadow: 0 8px 25px rgba(94, 84, 130, 0.4);
}

.ptsCol-5:hover .ptsColDesc {
    background-color: #6e6492 !important;
    box-shadow: 0 8px 25px rgba(94, 84, 130, 0.4);
}

/* Column cells hover effect */
.ptsCol:hover .ptsCell {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
}

/* Exclude description column from hover effects */
.ptsTableDescCol:hover {
    transform: none;
    z-index: auto;
}

.ptsTableDescCol:hover .ptsColHeader,
.ptsTableDescCol:hover .ptsColDesc,
.ptsTableDescCol:hover .ptsCell {
    transform: none;
    box-shadow: none;
    background-color: inherit !important;
}

/* Smooth transitions for all elements */
.ptsCol,
.ptsColHeader,
.ptsColDesc,
.ptsCell {
    transition: all 0.3s ease;
}
