.password-container {
            position: relative;
            width: 200px;
        }

input[type="password"], input[type="text"] {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

.toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 18px;
            user-select: none;
        }
	
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    padding: 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    color: #1e3a8a;
}


header h2 {
    Xtext-align: left;
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-top: 0.5rem;
}


/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.input-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    font-weight: bold;
    color: #1e3a8a;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.form-group input:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}


.submit-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.3s;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Table Styling */
.device-table {
    margin-top: 2rem;
    width: 100%;
    border-collapse: collapse;
}

.device-table th, .device-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    max-width: 150px;
}

.device-table td a.submit-btn {
    display: block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.device-table th {
    background-color: #1e3a8a;
    color: white;
    font-weight: bold;
}

.device-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.device-table tr:hover {
    background-color: #eff6ff;
}




/* Table Styling */
.vcard-table {
    margin-top: 2rem;
    width: 50%;
    border-collapse: collapse;
}


.vcard-table th, .vcard-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.vcard-table th {
    background-color: #1e3a8a;
    color: white;
    font-weight: bold;
}

.vcard-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.vcard-table tr:hover {
    background-color: #eff6ff;
}



/* Table Styling */
.listvcard-table {
    margin-top: 2rem;
    width: 25%;
    border-collapse: collapse;
}


.listvcard-table th, .listvcard-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.listvcard-table th {
    background-color: #1e3a8a;
    color: white;
    font-weight: bold;
}

.listvcard-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.listvcard-table tr:hover {
    background-color: #eff6ff;
}




/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 0.9rem;
    }

    .submit-btn {
        font-size: 0.9rem;
    }

    .device-table th, .device-table td {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}
