/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1754474174
Updated: 2025-08-06 09:56:14

*/

/** manage user form page design **/
.user-table-container {
	margin: 20px 0;
}
.user-table-filters {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px 0 rgba(17, 17, 26, .05), 0 8px 32px 0 rgba(17, 17, 26, .05);
    padding: 60px;
}
.user-table-filters input, .user-table-filters select {
	margin: 5px;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
.user-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.user-table th, .user-table td {
	padding: 10px;
	text-align: left;
	border-bottom: 1px solid #aaa;
	background: #FFF !important;
}

.user-table th {
	background-color: #FFFFFF;
	font-weight: bold;
}
.user-table tr:hover {
	background-color: #f5f5f5;
}
.action-buttons {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}
.btn {
	padding: 5px 10px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
	font-size: 12px;
	display: inline-block;
}
.btn-approve {
	background-color: #28a745;
	color:  #fff!important;
}
.btn-deny {
	background-color: #dc3545;
	color: #fff!important;
}
.btn-view {
	background-color: #007cba;
	color:  #fff!important;
}
.btn:hover {
	opacity: 1;
}
.status-approved {
	color: #28a745;
	font-weight: bold;
}
.status-denied {
	color: #dc3545;
	font-weight: bold;
}
.status-pending {
	color: #ffc107;
	font-weight: bold;
}
.no-results {
	text-align: center;
	padding: 20px;
	color: #666;
}
.user-table-filters input[type="text"], .user-table-filters select {
    border: solid 1px #ccc !important;
    border-radius: 0 !important;
    height: 50px !important;
    color: var(--e-global-color-74758cd);
    max-height: inherit;
}
.user-table-filters .btn-view {
    border-radius: 0px 15px !important;
}
.user-table-filters input[type="text"]:focus {
    outline: none;
}
.user-table {
    background: #FFF;
    border: solid 1px #CCC;
    padding: 20px !important;
}
.action-buttons a {
    border-radius: 0 10px;
}
.action-buttons a.btn-deny {
  background: #FFF !important;
	color: #dc3545 !important;
	border: solid 1px #dc3545 !important;
transition: all 300ms ease-in-out;
}
.action-buttons a.btn-deny:hover {
  background:#dc3545 !important;
	color: #FFF !important;
	border: solid 1px #dc3545 !important;
}

div#user-registration .ur-frontend-form {
    box-shadow: none !important;
}


@media (max-width: 768px) {
	.user-table {
		font-size: 12px;
	}
	.user-table th, .user-table td {
		padding: 5px;
	}

.user-table {
    white-space: nowrap;
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}
	
.user-table-container select {
    min-width: 250px;
}
	
}
@media screen and (max-width: 767px){
.ur-frontend-form.login { padding: 0;}
}


@media screen and (max-width: 767px){
	
	/* ===================================
   USER TABLE MOBILE RESPONSIVE STYLES
   =================================== */

/* Table Container */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Table Headers */
.user-table thead th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

/* Table Body */
.user-table tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
    color: #555;
}

/* Row Hover Effect */
.user-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Status Styling */
.status-approved {
    background-color: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.status-denied {
    background-color: #f8d7da;
    color: #721c24;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 40px;
}

.btn {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-deny {
    background-color: #dc3545;
    color: white;
}

.btn-deny:hover {
    background-color: #c82333;
    color: white;
}

.btn-view {
    background-color: #007bff;
    color: white;
}

.btn-view:hover {
    background-color: #0056b3;
    color: white;
}

.btn-approve {
    background-color: #28a745;
    color: white;
}

.btn-approve:hover {
    background-color: #218838;
    color: white;
}

/* ===================================
   MOBILE RESPONSIVE STYLES
   =================================== */

/* Tablet View (768px and below) */

    .user-table {
        font-size: 17px;
    }
    
    .user-table thead th,
    .user-table tbody td {
        padding: 12px 8px;
    }
    
    /* Hide less important columns on tablet */
    .user-table th:nth-child(4), /* Role in Company */
    .user-table td:nth-child(4) {
        /* display: none; */
    }
    
    .user-table th:nth-child(5), /* How Did You Find Us */
    .user-table td:nth-child(5) {
         /* display: none; */

    }
    
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
 

/* Mobile View (480px and below) - Card Layout */

    .user-table,
    .user-table thead,
    .user-table tbody,
    .user-table th,
    .user-table td,
    .user-table tr {
        display: block;
    }
    
    /* Hide table header */
    .user-table thead {
        display: none;
    }
    
    /* Style each row as a card */
    .user-table tbody tr {
		margin-bottom: 20px;
		background: white;
		position: relative;
	}
    
    .user-table tbody tr:hover {
        background-color: white;
    }
    
    /* Style table cells */
    .user-table tbody td {
        border: none;
        padding: 12px 0;
        position: relative;
        padding-left: 45%;
        text-align: right;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .user-table tbody td:last-child {
        border-bottom: none;
        padding-left: 0;
        text-align: left;
        margin-top: 15px;
    }
    
    /* Add labels before each cell */
    .user-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 40%;
        font-weight: 600;
        color: #333;
        text-align: left;
    }
    
    /* Specific labels for each column */
    .user-table tbody td:nth-child(1):before {
        content: "Name:";
    }
    
    .user-table tbody td:nth-child(2):before {
        content: "Email:";
    }
    
    .user-table tbody td:nth-child(3):before {
        content: "Company:";
    }
    
    .user-table tbody td:nth-child(4):before {
        content: "Role:";
    }
    
    .user-table tbody td:nth-child(5):before {
        content: "Source:";
    }
    
    .user-table tbody td:nth-child(6):before {
        content: "Phone:";
    }
	
	 .user-table tbody td:nth-child(7):before {
        content: "Address:";
    }
	
	 .user-table tbody td:nth-child(8):before {
        content: "Reg. Date:";
    }
	
	 .user-table tbody td:nth-child(9):before {
        content: "Customer Type:";
    }
	
	.user-table tbody td:nth-child(10):before {
        content: "Status:";
    }
    
    .user-table tbody td:nth-child(11):before {
        content: "Actions:";
    }
    
    /* Action buttons in mobile */
    .action-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-top: 40px;
    }
    
    .btn {
        flex: 1;
        padding: 10px 8px;
        font-size: 13px;
        text-align: center;
    }
    
    /* Status badge in mobile */
    .status-approved,
    .status-pending,
    .status-denied {
        font-size: 12px;
        padding: 4px 8px;
    }




/* ===================================
   ACCESSIBILITY & IMPROVEMENTS
   =================================== */

/* Focus states for buttons */
.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Loading state */
.user-table.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state */
.user-table tbody:empty:after {
    content: "No users found.";
    display: block;
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* Responsive text */
.user-table td {
    word-wrap: break-word;
    max-width: 200px;
}

/* Email column specific styling */
.user-table td:nth-child(2) {
    word-break: break-all;
}

/* Company name column */
.user-table td:nth-child(3) {
    max-width: 150px;
}

}


/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .user-table tbody tr {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .user-table tbody td {
        padding: 8px 0;
        font-size: 13px;
        padding-left: 40%;
    }
    
    .user-table tbody td:before {
        font-size: 12px;
        width: 35%;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .btn {
        padding: 8px 6px;
        font-size: 12px;
        width: 100%;
    }
}

/** table style end **/







