/* Oude divs*/
.tablerand1{background-color:#990000; }
.tablerand2{background-color:#FFFFFF; }
.tablemain{background-color:#FFFFFF; }
.tableleftcolor{ background-color:#990000; color: #FFFFFF; font-weight: bold; text-indent:1px; }
.tablerightcolor{ background-color:#E0DFE3; color: #000000;}

/* Standaard opmaak, ook belangrijk */
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.menu{
    width: 115px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
	color:#FFF;
	background-color:#990100;
	margin-left:5px;
}


.content{
	margin:10px;	
}

a:link {
	color: #000099;
}
a:visited {
	color: #000099;
}
a:hover {
	color: #0033CC;
}
a:active {
	color: #FF0000;
}

.menu a{
	color:#FFF;
}
/* Algemene divs */
.verplicht_rood {color: #FF0000}
.verplicht_groen {color: #006600}
.klijn_text {font-size: 10px}

.total_table{
	padding:1px; 
	margin:1px; 
	border:1px solid; 
	border-color:#990000; 
}
.total_horizontable{
	margin:1px; 
	border:1px solid; 
	border-color:#990000; 
}
.table_right{
	min-height:24px; 
	background-color:#E0DFE3; 
	color: #000000; 
	padding-left:5px; 
	text-indent:5px; 
}
.table_left{
	background-color:#990000; 
	color:#FFFFFF;
	float:left; 
	min-height:24px;
	font-weight:bold;
	padding-left:5px; 
}

.custom_table{
	margin:1px; 
	border:1px solid; 
	border-color:#990000;
	border-spacing:1px;
}

.custom_table th{
	background-color:#990000; 
	color:#FFFFFF;
	min-height:24px;
	font-weight:bold;
	padding-left:5px;
	text-align:left;
}
.custom_table td{
	min-height:24px; 
	background-color:#E0DFE3; 
	color: #000000; 
	padding:3px; 
}

/* Aanmelden.php divs */
.aanmelden{
	width:420px;
}
.aanmelden_left{
	width:150px;
}
.aanmelden_right{
}

/* Gegevens.php divs */
.gegevens{
	width:450px;
}
.gegevens_left{
	width:150px;
	height: 26px;
}
.gegevens_right{
	height: 26px;
}

/* factuur2.php divs */
.factuur2{
	width:600px;
}

/* factuur.php divs */
.factuur{
	width:593px;
}

/* inloggen.php divs */
.inloggen{
	/*width:380px;*/
}

/* hosting2.php divs */
.hosting2{
	width:517px;
}

/* hosting.php divs */
.hosting{
	width:509px;
}
.hosting_left{
	width:115px;
}

/* domeinen divs */
.domein2{
	width:576px;
}
.domein_1{
	width:377px;
}
.domein_2{
	width:521px;
}
.domeinbewerk{
	width:531px;
}
.domeinwijzig{
	width:525px;
}

/* support divs */
.support{
	width:570px;
}
.supportvraag{
	width:400px;
}
.support2{
	width:565px;
}
/* overige divs */
.overigeProducten2{
	width:400px;
}
.overigeProducten{
	width:519px;
}
.stream{
	width:519px;
}
.stream2{
	width:410px;
}
.colocatie2{
	width:410px;
}
.colocatie{
	width:546px;
}


/* Messages */
.error {
	display: block;
	width: 500px;
	
	background: #F9C9C9;
	background: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(255,234,234)),
		color-stop(1, rgb(250,204,204))
	);
	background: -moz-linear-gradient(
		center bottom,
		rgb(255,234,234) 0%,
		rgb(250,204,204) 100%
	);
	border: 1px solid #F3ABAB;
	padding: 15px 20px;
	color: #8D0D0D;
	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	margin: 10px 15px 15px 5px;
	box-shadow: 0 4px 12px rgba(255,234,234,0.8); -webkit-box-shadow: 0 4px 12px rgba(255,234,234,0.8);
}

.warning {
	display: block;
	width: 500px;
	
	background: rgb(250,250,234);
	background: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(250,250,234)),
		color-stop(1, rgb(243,248,174))
	);
	background: -moz-linear-gradient(
		center bottom,
		rgb(250,250,234) 0%,
		rgb(243,248,174) 100%
	);
	
	border: 1px solid #D7E059;
	padding: 15px 20px;
	color: #6C6600;
	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	margin: 10px 15px 15px 5px;
	box-shadow: 0 4px 12px rgba(250,250,234,0.8); -webkit-box-shadow: 0 4px 12px rgba(250,250,234,0.8);
}

.success {
	display: block;
	width: 500px;
	
	color: #4F8A10;
	background-color: #DFF2BF;
	
	border: 1px solid #4F8A10;
	padding: 15px 20px;
	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	margin: 10px 15px 15px 5px;
	box-shadow: 0 4px 12px rgba(234,247,255,0.8); -webkit-box-shadow: 0 4px 12px rgba(234,247,255,0.8);
}

.info, .message {
	display: block;
	width: 500px;
	
	background: rgb(250,250,234);
	background: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(234,247,255)),
		color-stop(1, rgb(199,232,255))
	);
	background: -moz-linear-gradient(
		center bottom,
		rgb(234,247,255) 0%,
		rgb(199,232,255) 100%
	);
	
	border: 1px solid #9FD1F5;
	padding: 15px 20px;
	color: #005898;
	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	margin: 10px 15px 15px 5px;
	box-shadow: 0 4px 12px rgba(234,247,255,0.8); -webkit-box-shadow: 0 4px 12px rgba(234,247,255,0.8);
}


/* =====================================
     ALGEMENE ELEMENTEN
     ===================================== */

.no-logs {
    text-align: center;
    font-style: italic;
    padding: 20px;
    color: #666;
}

.user-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    align-items: stretch;
}

.user-card {
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px 20px;
    width: 220px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.user-card strong {
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

.user-card p {
    margin: 6px 0;
    font-size: 14px;
    text-align: center;
    width: 100%;
    word-break: break-word;
}

.user-card a {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.user-card a:hover {
    opacity: 0.7;
}

.user-card .bottom-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

.user-card button {
    margin: 4px 0;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #009ad8;
    color: #fff;

    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.06s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-card button:hover {
    background-color: #007bb1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.user-card button:active {
    transform: translateY(1px);
}

.user-card button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
    box-shadow: none;
    transform: none;
}

.user-card button.link-button {
    all: unset;
    display: block;
    margin: 4px 0;
    color: #009ad8;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.user-card button.link-button:hover {
    opacity: 0.7;
}

.user-card .edit-contact-btn,
#contactPopup .submit-btn,
#objectsPopup .submit-btn {
    background: #009ad8;
    color: #fff;
    border: 0;
    margin: 8px;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-card .edit-contact-btn:hover,
#contactPopup .submit-btn:hover,
#objectsPopup .submit-btn:hover {
    background: #007bb1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

.user-card .edit-contact-btn:active,
#contactPopup .submit-btn:active,
#objectsPopup .submit-btn:active {
    transform: translateY(1px);
}

.user-card .edit-contact-btn:focus-visible,
#contactPopup .submit-btn:focus-visible,
#objectsPopup .submit-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 154, 216, 0.25), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-card .delete-contact-btn {
    background: #dc3545;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-card .delete-contact-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.user-card .delete-contact-btn:active {
    transform: translateY(1px);
}

.user-card .delete-contact-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #009ad8;
    color: white;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #007bb1;
}

#contactPopup .submit-btn[disabled] {
    background: #9ccfe6;
    cursor: wait;
    box-shadow: none;
    transform: none;
}

#addUserCard {
    background: linear-gradient(135deg, #009ad8 0%, #007bb1 100%);
    color: white;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#addUserCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background: #fff;
    margin: 12vh auto 0 auto;
    padding: 2rem;
    border-radius: 0.5rem;
    width: min(92%, 36rem);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    color: #888;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    font-size: 28px;
    cursor: pointer;
}

#contactPopup .close,
#objectsPopup .close {
    position: sticky;
    top: 8px;
    margin-left: auto;
    float: right;
    color: #6b7280;
    font-size: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.06s ease;
}

#contactPopup .close:hover,
#objectsPopup .close:hover {
    background: #e5e7eb;
}

#contactPopup .close:active,
#objectsPopup .close:active {
    transform: translateY(1px);
}

#contactPopup .popup-content,
#objectsPopup .popup-content {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 20px 20px;
    width: min(92%, 720px);
    max-height: 86vh;
    overflow: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

#objectsPopup .popup-content {
    width: min(92%, 480px);
}

#contactPopup .popup-content::before,
#objectsPopup .popup-content::before {
    content: "";
    display: block;
    height: 4px;
    border-radius: 14px 14px 0 0;
    position: sticky;
    top: 0;
    z-index: 3;
}

#contactPopup .popup-content > h3,
#objectsPopup .popup-content > h3 {
    position: sticky;
    top: 4px;
    z-index: 2;
    background: #fff;
    margin: 0 -20px 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #009ad8;
}

#contactForm,
#objectsPopup form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm .form-group {
    width: 100%;
}

#contactPopup .form-group label:has(> input#cp_mailing) {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    width: 100%;
    white-space: nowrap;
}

#contactPopup #cp_mailing {
    width: auto;
    margin: 0;
}

#contactPopup .form-group input:not([type="checkbox"]),
#contactPopup .form-group select {
    width: 100%;
}

.log-filter-form {
    margin: 25px 0 20px 0;
    padding: 15px;
    background-color: #f0f8ff;
    border: 1px solid #ccd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-group div {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.filter-group input,
.filter-group select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #aaa;
    min-width: 150px;
    font-size: 14px;
}

table.log-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

table.log-table thead {
    background-color: #009ad8;
    color: white;
}

table.log-table th,
table.log-table td {
    padding: 12px;
    text-align: center;
}

table.log-table tbody tr:nth-child(even) {
    background-color: #f2f8fb;
}

table.log-table tbody tr:hover {
    background-color: #e0f0f8;
}

#cp_modules_group {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    padding: 12px;
    margin-top: 6px;
}

#cp_modules_group > label {
    user-select: none;
    padding: 4px 0;
}

#cp_modules_content {
    border-radius: 8px;
    margin-top: 8px;
}

#cp_modules_toolbar,
#objects_toolbar {
    background: #fafafa;
    padding: 12px 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    align-items: center;
}

#cp_modules_search,
#objects_search {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
    min-width: 200px;
}

#cp_modules_toolbar .chip-btn,
#objects_toolbar .chip-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

#cp_modules_toolbar .chip-btn:hover,
#objects_toolbar .chip-btn:hover {
    background: #eef6fb;
    border-color: #009ad8;
}

#cp_modules_count,
#objects_count {
    margin-left: auto;
    font-size: 12px;
    color: #6b7280;
}

#cp_modules_checklist {
    padding: 10px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

#cp_modules_checklist label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#cp_modules_checklist label:hover {
    border-color: #cfe9f5;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

#cp_modules_checklist input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 8px;
}

.module-objects-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.module-objects-btn:hover {
    background: #e5e7eb;
    border-color: #009ad8;
}

.objects-count {
    color: #009ad8;
    font-weight: 600;
    margin-right: 4px;
}

#objects_checklist {
    display: grid;
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
    margin-bottom: 16px;
}

#objects_checklist label {
    display: flex;
    width: 100% !important;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    word-break: break-word;
    overflow-wrap: break-word;
}

#objects_checklist label:hover {
    background: #f3f4f6;
    border-color: #009ad8;
}

.hidden {
    display: none !important;
}

#contactpersonen {
    scroll-margin-top: 10rem;
}

.disabled-label {
    opacity: 0.6;
    pointer-events: none;
    background: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed !important;
}

.user-card button.link-button:disabled {
    color: #999 !important;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
    opacity: 1;
}

.user-card button.link-button:disabled:hover {
    color: #999 !important;
    text-decoration: none;
    opacity: 1;
}
