Spaces:
3SCError404
/
Paused

nexus / frontend /apps /internal /src /components /WorkspaceSettings.module.css
dushyantsingh0
backend stabilization
36576e3
Raw History Blame Contribute Delete
3.98 kB
.container {
padding: 40px;
max-width: 1200px;
margin: 0 auto;
}
.header {
margin-bottom: 48px;
}
.workspaceName {
font-size: 32px;
font-weight: 800;
color: #0f172a;
margin-bottom: 8px;
letter-spacing: -0.02em;
text-transform: uppercase;
}
.description {
font-size: 16px;
color: #64748b;
max-width: 600px;
line-height: 1.5;
}
.sectionHeader {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
.sectionTitle {
font-size: 20px;
font-weight: 700;
color: #1e293b;
}
.addBtn {
background-color: #7c3aed;
color: white;
border: none;
padding: 10px 24px;
border-radius: 8px;
font-weight: 700;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s;
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}
.addBtn:hover {
background-color: #6d28d9;
transform: translateY(-1px);
}
/* Table Styles */
.tableCard {
background: white;
border: 1px solid #e2e8f0;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.th {
background: #f8fafc;
padding: 16px 24px;
font-size: 11px;
font-weight: 700;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom: 1px solid #e2e8f0;
}
.td {
padding: 20px 24px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
}
.memberCell {
display: flex;
align-items: center;
gap: 16px;
}
.avatar {
width: 40px;
height: 40px;
background: #eff6ff;
color: #7c3aed;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 14px;
border: 1px solid #ede9fe;
}
.memberInfo {
display: flex;
flex-direction: column;
}
.memberName {
font-size: 14px;
font-weight: 700;
color: #1e293b;
}
.memberEmail {
font-size: 12px;
color: #64748b;
}
/* Role Badges */
.roleBadge {
display: inline-block;
padding: 4px 12px;
background: #f1f5f9;
color: #475569;
border-radius: 6px;
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
}
.roleAdmin {
background: #eef2ff;
color: #4338ca;
}
/* Status */
.statusCell {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 500;
color: #10b981;
}
.statusDot {
width: 6px;
height: 6px;
background: #10b981;
border-radius: 50%;
}
/* Modal */
.modalOverlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal {
background: white;
width: 480px;
border-radius: 16px;
padding: 32px;
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.modalTitle {
font-size: 22px;
font-weight: 800;
color: #0f172a;
margin-bottom: 8px;
}
.modalSub {
font-size: 14px;
color: #64748b;
margin-bottom: 24px;
}
.formGroup {
margin-bottom: 20px;
}
.label {
display: block;
font-size: 13px;
font-weight: 700;
color: #334155;
margin-bottom: 8px;
}
.input, .select {
width: 100%;
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 8px;
font-size: 14px;
outline: none;
transition: all 0.2s;
}
.input:focus, .select:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.modalActions {
display: flex;
gap: 12px;
margin-top: 32px;
}
.cancelBtn {
flex: 1;
background: #f8fafc;
border: 1px solid #e2e8f0;
padding: 12px;
border-radius: 8px;
font-weight: 700;
cursor: pointer;
}
.submitBtn {
flex: 2;
background: #7c3aed;
color: white;
border: none;
padding: 12px;
border-radius: 8px;
font-weight: 700;
cursor: pointer;
}
.submitBtn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.error {
color: #ef4444;
font-size: 12px;
margin-top: 8px;
font-weight: 600;
}